package com.schedule.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 节假日实体类
 */
@Data
@TableName("holiday")
public class Holiday {
    @TableId(type = IdType.AUTO)
    private Long id;

    private LocalDate holidayDate;

    private String name;

    private String type;

    private Integer year;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}